﻿using System.ComponentModel.DataAnnotations;

namespace Spark.Config.Api.DTO
{
    public class ChangePwdRequest
    {
        [Required(AllowEmptyStrings = false, ErrorMessage = "原始密码不能为空！")]
        public string OldPwd { get; set; }

        [Required(AllowEmptyStrings = false, ErrorMessage = "新密码不能为空！")]
        public string NewPwd { get; set; }
    }
}